import router from "@/router/router";

const jumpHelper = {
    jumpToSign:()=>{
        router.push({name:'loginPage'})
    },
    jumpToHelper : ()=>{
        router.push({name:'helperPage'})
    },
    jumpToManager:()=>{
        router.push({name:'managerPage'})
    },
    //userpage内
    jumpToUserPage:()=>{
        router.push({name:'userDefault'})
    },
    jumpToNewTaskPage:()=>{
        router.push({name:'newTaskPage'})
    },
    jumpToTakeTaskPage:()=>{
        router.push({name:'takeTaskPage'})
    },
    jumpToAccountPage:()=>{
        router.push({name:'accountPage'})
    }
}

export default jumpHelper